package com.xht.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (Video)表实体类
 *
 * @author makejava
 * @since 2025-03-11 14:15:42
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sg_video")
public class Video {
    @TableId
    private Long id;
    //视频标题
    private String title;
    private String status;
    //视频简介
    private String brief;
    //详细描述
    private String description;
    //视频URL
    private String url;
    //封面图URL
    private String coverUrl;
    //播放次数
    private Long viewCount;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //更新时间
    private Date updateTime;
    //删除标志（0代表存在 1代表删除）
    private String delFlag;
}


